import { createRouter,createWebHistory } from 'vue-router'
//路由配置数组对象
const routes = [
    {
        path:'/',
        name:'moveShop',
        component:()=>import('../views/MoveShop.vue'),
        meta : {
            title:'首页'
        }
    }
]

//创建路由实例对象
const router = createRouter({
    history: createWebHistory(),
    routes
})
//导出路由对象 其他地方要用
export default router;